* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*    What Compensates for Age?
*
* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

use "AdsEmploymentMerged.dta", clear

* Price of Age (Table 4, columns 1 and 2)
estimates clear 
areg anyagewanted anyeducwanted ///  
anyoccwanted anyforeignwanted anystatuswanted_s ///
dowry if askermale==1 & asker_age<50, absorb(year) vce(cluster year)
estimates store e3

areg anyagewanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted dowry ///
if askermale==1 & asker_age<50, absorb(year) vce(cluster year)
estimates store e4

* %% Foreign and local (Appendix Table A4, columns 1-4) %%

areg anyagewanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & usself==0, absorb(year) vce(cluster year)
estimates store e5

areg anyagewanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & usself==1, absorb(year) vce(cluster year)
estimates store e7

areg anyagewanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & asker_residence2=="", absorb(year) vce(cluster year)
estimates store e6

areg anyagewanted postgradwanted_e medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & asker_residence2~="", absorb(year) vce(cluster year)
estimates store e8				  

				  
* %%%%% Looks (Table 4, columns 3 and 4) %%%%

areg anylookswanted anyeducwanted ///  
anyoccwanted anyforeignwanted anystatuswanted_s ///
dowry ///
if askermale==1 & asker_age<50, absorb(year) vce(cluster year)
estimates store l3

* Decompose
areg anylookswanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50, absorb(year) vce(cluster year)
estimates store l4


* %% Foreign and local (Table A4, columns 5-8) %%

areg anylookswanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & usself==0, absorb(year) vce(cluster year)
estimates store l5

areg anylookswanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & usself==1, absorb(year) vce(cluster year)
estimates store l7

areg anylookswanted postgradwanted medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & asker_residence2=="", absorb(year) vce(cluster year)
estimates store l6

areg anylookswanted postgradwanted_e medwanted_e  ///  
medwanted_o otherpgwanted_o anystatuswanted_s ///
uswanted  dowry ///
if askermale==1 & asker_age<50 & asker_residence2~="", absorb(year) vce(cluster year)
estimates store l8

			  
